package study04;

/**
* @author GZQ
* @Date 2023/11/5
 */

public class SaveMoney {
    public static void main(String[] args) {
        double money = 10000;
        double rate = 0.056;
        int year = 0;
        while(year < 10){
            money = money * rate + money ;
            year++;
            System.out.println(money);
        }
    }
}
